package cn.ava.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
@NoArgsConstructor
@AllArgsConstructor
@Data
@Accessors(chain = true)
public class PreKillOrder {

    /**
     * 订单编号
     */
    private String orderNo;
    /**
     * 支付总的价格
     */
    private BigDecimal totalAmount;
    /**
     * 秒杀数量
     */
    private Integer totalCount;
    /**
     * 用户
     */
    private Long userId;

    /**
     * 课程ID
     */
    private Long courseId;
    /**
     * 秒杀课程名字
     */
    private String courseName;
    /**
     * 封面
     */
    private String coursePic;

    // 活动id
    private Long activityId;
    // 秒杀课程id
    private Long killCourseId;
}
